;
! function() {

	$(document).on("click", ".span-url", function() {
		var url = $(this).html();
		window.open("" + url + "");
	});

	$(".span-url").hover(function() {
		$(this).css("text-decoration", "underline");
		$(this).css("color", "red");
	}, function() {
		$(this).css("text-decoration", "none");
		$(this).css("color", "black");
	});

	$(document).on("click", ".btn", function() {
		var type = $(this).html();
		var id = $("#jobId").html();
		layer.confirm("确定" + type + "吗?", {
			icon: 3,
			title: '温馨提示'
		}, function(index) {
			$.ajax({
				url: "/bizjobs/auditingBizJobs",
				type: "post",
				data: {
					"type": type,
					"id": id
				},
				success: function(result) {
					layer.close(index);
					if(result.status == 0) {
						location.href = "/auditingBizJobsList";
					}
				}
			});
		});
	});
}();